--
-- Author:zhangxuri
-- Date:2021-04-14
--


local typedefs = require "kong.db.schema.typedefs"
local plugin_name = ({...})[1]:match("^kong%.plugins%.([^%.]+)")

--- 参数获取并校验
-- @param storage_path 插件存储路径
return {
  name = plugin_name,
  fields = {
    { protocols = typedefs.protocols },
    { config = {
        type = "record",
        fields = {},
      },
    },
  }
}
